<?php

namespace App\Observers;

use App\Models\Setting;
use Illuminate\Support\Facades\Cache;

class SettingObserver
{

    public function saved(Setting $setting)
    {
        set_setting($setting->variate, $setting->value);
    }

}
